package artaza.service;
import artaza.persistencia.Finca;
import com.google.appengine.api.datastore.Key;
import java.util.*;


/**
 *
 * @author AGM
 */
public interface FincaService {

    void create(final Finca finca);

    void remove (final Key id); // long Key

    public List<Finca> buscar(int criterio, String palabra);

    public Finca findByPK(Key id);

    public void update(Finca f);

    public Collection<Finca> getAllFincas();
    
    public Finca buscar2(String palabra) ;

    
  }
